#include "StdAfx.h"
#include "XmlNode.h"

namespace System{
namespace Xml{

/*******************************************************/
VIRTUAL_GET_TYPE_IMPLEMENT(System::Xml::XmlNode, System_Xml_XmlNode)
VIRTUAL_TOSTRING_IMPLEMENT(System::Xml::XmlNode, System_Xml_XmlNode)

XmlNode::XmlNode(void)
{
}

XmlNode::~XmlNode(void)
{
	/*if(this->m_Children != NULL) {
		delete this->m_Children;
		this->m_Children = NULL;
	}*/

	if(this->m_Attributes != NULL) {
		delete this->m_Attributes;
		this->m_Attributes = NULL;
	}

	if(this->m_Name != NULL) {
		delete this->m_Name;
		this->m_Name = NULL;
	}

	if(this->m_Value != NULL) {
		delete this->m_Value;
		this->m_Value = NULL;
	}
}

const System::MemString* XmlNode::GetNodeName()
{
	return this->m_Name;
}

const System::MemString* XmlNode::GetNodeValue()
{
	return this->m_Value;
}

const System::Xml::XmlAttributeCollection* XmlNode::GetAttributes()
{
	return this->m_Attributes;
}



/*******************************************************/
VIRTUAL_GET_TYPE_IMPLEMENT(System::Xml::XmlNodeCollection, System_Xml_XmlNodeCollection)
VIRTUAL_TOSTRING_IMPLEMENT(System::Xml::XmlNodeCollection, System_Xml_XmlNodeCollection)

XmlNodeCollection::XmlNodeCollection(void)
{
}


XmlNodeCollection::~XmlNodeCollection(void)
{
}


}}